package com.yuanfeng.base.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName BaseKdniaoExpresssController
 * @Description 快递
 * @Author hyq
 * @Date 2023/6/21 9:56
 * @Version 1.0
 **/
@RestController
@RequestMapping("base/kdniaoExpresss")
public class BaseKdniaoExpresssController extends BaseController{

    /**
     * 查询快递表信息
     *
     * @param orderShippingExpressId
     * @return
     */
    @PostMapping("/query/kdniaoExpresssInfo")
    public ResponseResult queryKdniaoExpresssInfo(@RequestBody Integer orderShippingExpressId) {
        ResponseResult result = baseKdniaoExpresssService.queryKdniaoExpresssInfo(orderShippingExpressId);
        return result;
    }
}
